package com.softtown.modules.dapai.dao;

import com.softtown.common.dao.BaseDao;
import com.softtown.modules.dapai.dto.CompWarehouseDTO;
import com.softtown.modules.dapai.entity.CompWarehouseEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CompWarehouseDao extends BaseDao<CompWarehouseEntity> {

    List<CompWarehouseDTO> getWarehousePageList(@Param("compId")Long compId,@Param("pram") String pram );

    CompWarehouseEntity getWarehouseById(@Param("compId")Long compId, @Param("id")Long id);

    void deleteWarehouse(@Param("compId")Long compId, @Param("id")Long id);


}
